﻿using System;

class GreaterOrNot
{
    static void Main()
    {
        /*Write a program that gets two numbers from the console and 
         * prints the greater of them. Don’t use if statements.
         */

        Console.Write("Enter first number = ");
        int firstNum = int.Parse(Console.ReadLine());
        Console.Write("Enter second number = ");
        int secondNum = int.Parse(Console.ReadLine());

        Console.WriteLine("Smaller number is: " + Math.Min(firstNum, secondNum));
        Console.WriteLine("Greater number is : " + Math.Max(firstNum, secondNum));
     
            


    }
}

